<include file="Index/header" />
</head>
<body>

<!--add-tab-->
<div class="add-tab">

	<div class="at_tab">
		<a href="javascript:;" class="cur"><i>会员管理</i></a> | 
		<a href="<{:U('add')}>"><i>添加会员</i></a>
	
	</div>
	<div class="clearall"></div>
</div>
<!--add-tab-->
<!--table-list-->
<div class="table-edit">
	<form id="myform" method="post">

<!--table-list-->
<div class="table-list ">

	<table cellpadding="0" cellspacing="0" border="0" width="100%" class="table-list_tb">
		<tr>
			<th width="15"><input type="checkbox" value="" id="check_box" ></th>
			<th width="55">用户ID</th>
			<th>用户名(姓名)</th>
			<th width="100">手机</th>
			<th  width="100">座机</th>
			<th width="60">允许登录</th>
			<th width="80">注册ip</th>
			<th width="120">最后登录</th>
			<th width="120">操作</th>
		</tr>
		<tbody>
		<if condition="$list">
		<volist name="list" id="foo">
		<tr>
			<td><input type="checkbox" value="<{$foo['id']}>" name="id[]"></td>
			<td align="center"><{$foo['id']}></td>
			<td  align="center"><{$foo.username|escapeshow=###}>(<{$foo.realname|escapeshow=###}>)</td>
			<td align="center"><{$foo.phone|escapeshow=###}></td>
			<td align="center"><{$foo.tel|escapeshow=###}></td>
			<td align="center"><img src="<if condition="$foo['isauth'] eq '0'">__TMPL__images/no_ico.gif<else/>__TMPL__images/ok_ico.gif</if>"></td>
			<td align="center"><{$foo.regip}></td>
			<td align="center"><{$foo.logintime|getdatetime=###}></td>
			<td align="center"><a href="<{:U('edit',array('id'=>$foo['id']))}>">修改</a> | <a href="<{:U('del',array('id'=>$foo['id']))}>" onclick="return del(0);">删除</a></td>
		</tr>
		</volist>
		<else/>
		<tr><td colspan="10" class="nodata">暂无相关数据</td></tr>
		
		</if>
		</tbody>
	</table>

	<div class="tools-list">
		<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tools-list_tb">
			<tr>
		
				<td colspan="2">
				<label for="check_box">全选/取消</label>
					<input type="button" class="sys_btn" value="删除" onclick="myform.action='<{:U('del')}>';return confirm_del();" /> 
					
				</td>
				<td class="bk_right">
					<div class="pages"><{$page}></div>
				</td>
			</tr>
		</table>
	</div>

</div>

<!--/table-list-->
	</form>

</div>
<!--/table-list-->
</body>
</html>
